package com.lianda.mutiple.pattern.aobj.example;

import com.lianda.mutiple.pattern.aobj.general.ActiveMethod;
import com.lianda.mutiple.pattern.future.Future;

//Active Object设计模式
public interface OrderService {

    //查询明细
    @ActiveMethod
    Future<String> findOrderDetails(long orderId);

    //提交订单
    void order(String account, long orderId);
}
